const config = {
    // mongodb
    db: {
        host: "211.149.146.4",
        port: "27017",
        dbname: "monkey_im",
        username: "monkey_im",
        password: "eaza6YkhjDTdWbct",
    },
    // redis
    redis: {
        host: "211.149.146.4",
        password: "11ee612493b87c24",
        port: 6379,
        db: 5,
    },
    // rabbitMQ
    rabbitMQ: {
        protocol: 'amqp',  // 无需修改
        hostname: '211.149.146.4', // rabbitMQ服务地址
        port: 5672, // 端口号
        username: 'mq',  // 用户名
        password: 'mq123456', // 密码
    },
    // 路由白名单
    passRouter: [
        '/v1/user/serviceLogin',
        '/v1/user/createUser'
    ],
    // token秘钥
    tokenSecret: '5fH8kJ3mR9pQ1xW7vC2yZ4aU5lM0gT3dS6',
    // 账号MD5加密密钥
    md5Secret: 'df12ffasfd07uafhKHJK8yu',
};

module.exports = config;